"use strict";

import httpUtils from "src/libs/httpUtils"
import Constants from 'src/libs/constants2'
import md5 from 'src/libs/md5.min'

export default {
    /**
     *
     * @param user_acc
     * @param user_pwd
     * @returns Promise
     */
    login(user_acc, user_pwd) {
        return httpUtils.get(Constants.URL.LOGIN, {
            user_acc: user_acc,
            user_pwd: md5(user_pwd)
        });
    }
}